package cate.common.table.attr;

import cate.common.table.ESheet;
import easy.java.dev.note.NoteClass;

@NoteClass("属性枚举")
public class AttrSheet extends ESheet<AttrRow> {

    @Override
    public String getSheetName() {
        return "枚举";
    }


    public double getRower(int tid) {
        AttrRow attrRow = get(tid);
        if (attrRow != null) {
            return attrRow.power;
        }
        return 0.0;
    }
}
